<template>
	<view class="">
		首页
		<button @click="requset">请求</button>
		<button @click="wxLog" style="margin-top: 50rpx;">微信授权登录</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		methods: {
			requset() {
				this.$api.classifyLeft().then((res) => {
					console.log(res);
				})
			},
			wxLog() {
				uni.navigateTo({
					url: '/pages/wx_login/wx_login'
				})
			}
		}
	}
</script>

<style>
</style>
